package com.xwn.bean.enumBean;

public enum ResultEnum {
    UNKONW_ERROR(-1, "当前系统繁忙,请稍后再试,有问题请联系客服！"),
    SUCCESS(200, "成功"),
    NO_LOGIN(9999, "用户未登录"),
    TOKEN_EXPIRED(9998, "用户登录过期"),

    //登录
    LOGIN_NO_ACCOUNT(10001,"没有该账户"),

    LOGIN_FAIL_PASS(10002,"登录密码错误"),
    LOGIN_NULL_PASS(10003,"登录密码不能为空"),
    LOGIN_FAITRUE(10004,"登录失败");

    private Integer code;

    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
